package ${basePackage}.dao.system.vo;

import ${basePackage}.dao.system.model.SystemUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

@Data
@ApiModel("定时任务列表列表对象")
public class SystemJobListVO {

    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;

    @ApiModelProperty(value = "JOB名称")
    private String jobName;

    @ApiModelProperty(value = "JOB描述")
    private String jobDescription;

    @ApiModelProperty(value = "任务处理器类")
    private String handler;

    @ApiModelProperty(value = "数据分发处理器")
    private String distributeHandler;

    @ApiModelProperty(value = "分发数限制", example = "1")
    private Integer distributeLimit;

    @ApiModelProperty(value = "是否禁用并发执行")
    private Boolean disallowConcurrent;

    @ApiModelProperty(value = "是否禁用")
    private Boolean disabled;

    @ApiModelProperty(value = "是否异步执行")
    private Boolean withAsync;

    @ApiModelProperty(value = "是否记录日志")
    private Boolean withLog;

    @ApiModelProperty(value = "CRON表达式")
    private String cronExpression;

    @ApiModelProperty(value = "允许执行该任务的服务IP，多个IP使用英文逗号隔开")
    private String allowServerIps;

    @ApiModelProperty(value = "状态（0准备，1运行中）", example = "1")
    private Byte status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "系统用户信息")
    private SystemUser createUserInfo;

    @ApiModelProperty(value = "系统用户信息")
    private SystemUser updateUserInfo;

}
